package com.example.uCenter.user.service;

import com.example.uCenter.common.Result;
import com.example.uCenter.user.entity.Information;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类
 *
 * @author yzh
 * @since 2022-08-29
 */
public interface IInformationService extends IService<Information> {

    List<Information> selectAllByInformation();

    // 新增
    boolean RegisterByInformationAdd(Information information);

    Result findPhoneNum(String phoneNum);

    Result sendCode(String phoneNum, String smsCode);
}
